package com.xiexin.setmeals.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xiexin.common.annotation.Excel;
import com.xiexin.common.core.domain.BaseEntity;

/**
 * 套餐和组的中间对象 setmeal_group
 * 
 * @author xiexin
 * @date 2022-03-26
 */
public class SetmealGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐的id */
    @Excel(name = "套餐的id")
    private Long setmealId;

    /** 组id */
    @Excel(name = "组id")
    private Long groupId;

    /** 中间表id */
    private Long id;

    public void setSetmealId(Long setmealId) 
    {
        this.setmealId = setmealId;
    }

    public Long getSetmealId() 
    {
        return setmealId;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("setmealId", getSetmealId())
            .append("groupId", getGroupId())
            .append("id", getId())
            .toString();
    }
}
